<?php
class PageIndex extends Page
	{
	protected function build() {}
	protected function getPageUrl() { return '/manager/'; }
	protected function getBreadcrumbTitle() { return 'Accueil'; }
	protected function getPageParent() { return ''; }
	protected function _process( $processor = null, $ret = false )
		{
		if(Params::hasParam('cache.action'))
			{
			if( Params::getParam('cache.action') == 'vider' )
				{
				Filesystem::removeDir( CACHE_ROOT, $delit = false );
				}
			}
		return $ret;
		}
	public function handleEvent( $event, $source, $params ) {parent::handleEvent( $event, $source, $params );}
	}
?>